Smarty template - notes

<!-- call variable -->
{$name}
<!-- call file in twig folder -->
{Path::assets('path/to/file/folder')}
<link href="{Path::assets('_assets/css/style.css')}">
<!-- app path abosulte https://www.app.com -->
{$appUrl}
{Path::root('index/method',true)}
{Path::root('',true)}
<!--create ion token input for form or page -->
{ionToken('form_name')}
<!-- call translate variable from tanlaste file -->
<!-- main file as folder name like web folder -> web.php file -->
{$_t->trans('msg')}
// call translate in js
let _t = JSON.parse('{$tJson}');